

// 设置内容
.main {
    margin-top: 20px;

    .listmenu {
        width: 182px;
        float: left;

        span {
            width: 162px;
            display: block;
            font-size: 14px;
            font-weight: 700;
            color: #000;
            margin-top: 5px;
            cursor: pointer;

            &:first-child {
                margin-top: 0px;
            }
        }
        ul {
            margin-top: 8px;
            padding-left: 16px;
            display: none;

            li {
                padding: 6px 0;
                margin-bottom: 6px;

                a {
                    color: #000;

                    font-size: 14px;

                }

                &:hover a {
                    color: red;
                    text-decoration: underline;
                }
            }
        }
    }

    .goods {
        width: 1065px;
        float: left;

        .top {
            .left {
                height: 31px;
                padding-bottom: 10px;
                float: left;

                .bgarrow {
                    display: inline-block;
                    background: url(../images/listarrow.png) no-repeat 100%;
                    background-size: 7px auto;
                    padding-right: 20px;
                    display: inline-block;
                    margin-right: 31px;
                    cursor: pointer;
                    font-size: 14px;
                    color: #000;
                }

                .bgarrow2 {
                    background: url(../images/listarrow2.png) no-repeat 100%;
                    background-size: 0.5rem auto;
                    margin-right: 4px;
                    padding-right: 20px;
                    color: #000;
                    font-size: 14px;
                    cursor:pointer;
                    
                }

                .inp1 {
                    margin-left: 20px;
                }

                input {
                    width: 60px;
                    height: 20px;
                    border: 1px solid #aaa;

                }

                span:last-child {
                    width: 48px;
                    text-align: center;
                    display: inline-block;
                    background: #000;
                    color: #fff;
                    font-size: 14px;
                    cursor: pointer;
                    margin-left: 5px;
                    letter-spacing: 1px;
                }
            }
            .search{
                float: left;
                margin:-5px 0 0  50px;
                input{
                    width: 250px;
                    border:1px solid #000;
                    border-right: none;
                    height: 25px;
                    font-size: 14px;
                    color: #000;
                }
                button{
                    width: 48px;
                    text-align: center;
                    display: inline-block;
                    background: #000;
                    color: #fff;
                    font-size: 14px;
                    cursor: pointer;
                    // margin-left: 5px;
                    letter-spacing: 1px;
                }
            }
            .right {
                float: right;
                color: #000;
                font-size: 14px;

                span {
                    color: #000;
                    font-size: 14px;
                }
            }
        }

        .imgs {

            ul {
                display: flex;
                width: 1065px;
                justify-content: space-between;
                flex-wrap: wrap;

                li {
                    width: 335px;
                    padding-bottom: 30px;
                    float: left;
                    position: relative;

                    img {
                        width: 100%;
                        height: 535px;
                      
                    }
                   

                    .title {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        margin-top: 18px;

                        span {
                            height: 20px;
                            font: 14px/20px "";
                            color: #000;

                            &:last-child {
                                color: #e90000;
                                border: 1px solid #e90000;
                                border-radius: 2px;
                            }
                        }

                    }

                    .price {
                        span {
                            font-size: 16px;
                            color: red;
                            margin-right: 5px;

                            // &:last-child {
                            //     font-size: 14px;
                            //     color: #999;
                            //     text-decoration: line-through;
                            // }
                        }

                    }
                    .buy {
                        position: absolute;
                        right: 20px;
                        top: auto;
                        bottom: 118px;
                        width: 295px;
                        height: 50px;
                        line-height: 45px;
                        text-align: center;
                        color: #000;
                        font-size: 18px;
                        background: #fff;
                        box-shadow: 1px 1px 1px rgb(0 0 0 / 15%);
                        letter-spacing: .3rem;
                        display: none;
                    }
                    &:hover .buy{
                        display: block;
                    }
                }
            }
        }


    }
    .pagination1{
        width: 800px;
        height: 50px;
        border:1px solid red;
        display: flex;
        justify-content: center;
        align-items: center;
        margin:20px auto;
    }
}